package com.su02.multi.data;

import org.apache.commons.lang3.ArrayUtils;

public class Vector extends ArrayListDelegator<Double> {
    public Vector(double... elems) {
        if (ArrayUtils.isEmpty(elems)) {
            throw new IllegalArgumentException();
        }
        int len = ArrayUtils.getLength(elems);
        initialize(len);
        for (double elem : elems) {
            getLst().add(elem);
        }
    }
}
